package com.atguigu.user.service;

import com.atguigu.user.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.Result;

public interface UserService extends IService<User> {

    // Result loginService(String phone, String password);//给账号密码，来查找

    Result sendCode(String phone);


    Result loginWithRegister(String phone,String code);

    //  User updatePasswordService(String uname,String newPassword);

    //  User updateUNameService(String uname,String newuname);

    //   User findPasswordService(String telephone,String newPassword);


    //  User updateAddressService(String uname,String address);


    //   boolean telephoneVerifyService(String telephone);

    // User updateImgService(String uname,String imgAddress);

    //  List<User> allUser();

    //   User getUserByTelephone(String telephone);

    // User getUserById(long Uid);

    Result getUser();


}
